<%@ page language="java" contentType="text/html; charset=UTF-8"
	pageEncoding="UTF-8"%>
<!DOCTYPE html>
<html>
<head>
<meta charset="utf-8">
<title>支出添加</title>
<%@ include file="/pages/common/base/Head2.jsp"%>
<script type="text/javascript" src="/${res.contextPath}/js/finance/addDailyBalancePay.js?version=${res.version}"></script>
<script>
	$(function(){
		AddDailyBalancePay.initPage("${res.contextPath}");	
	});
  </script>
</head>
<body>
	<form class="layui-form">
		<div class="layui-form-item">
			<fieldset class="layui-elem-field layui-field-title"
				style="margin-top: 20px;">
				<legend>支出添加</legend>
			</fieldset>
			<div class="layui-inline">
				<label class="layui-form-label">日期选择<span style="color:red">*</span></label>
				<div class="layui-input-block">
					<input type="text" name="date" id="date" autocomplete="off" lay-verify="required"
						class="layui-input">
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">分类<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<select id="balanceType" name="balanceType" lay-verify="required" lay-search >
							<z:options method="systemServiceBiz.selectCatalog1(1)"  isfull="false" text="name" value ="catalogId"></z:options>
						</select>
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">账号<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<select id="accountA" name="accountA" lay-verify="required">
							<z:options method="systemServiceBiz.selectAccount()"  isfull="false" text="accountName" value ="accountId"></z:options>
						</select>
					</div>
				</div>
			</div>
			<div class="layui-form-item">
				<div class="layui-inline">
					<label class="layui-form-label">金额<span style="color:red">*</span></label>
					<div class="layui-input-inline">
						<input type="text" name="money" lay-verify="required|money"
							autocomplete="off" placeholder="请输入金额" class="layui-input">
					</div>
				</div>
			</div>
			<div class="layui-form-item layui-form-text">
					<label class="layui-form-label">备注</label>
					<div class="layui-input-block">
						<textarea placeholder="请输入内容" name="remark" class="layui-textarea"
							style="width: 500px; height: 100px"></textarea>
					</div>
			</div>
		<div class="layui-form-item">
			<div class="layui-input-block">
				<button class="layui-btn" lay-submit="" lay-filter="submit">立即提交</button>
			</div>
		</div>
		</div>
	</form>
</body>
</html>